package org.scirp.ijmis.util;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

public class Row implements Serializable{
	private String teamleader;
	private String journalname;
	private List parameter;
	
	@SuppressWarnings("unchecked")
	public Row(String teamleader,String journalname,List countList){
		parameter=new ArrayList();
		this.teamleader=teamleader;
		this.journalname=journalname;
		Object[] o=(Object[])countList.get(0);
		for(Object count:o){
			parameter.add(Integer.parseInt(((BigDecimal)count).toString()));
		}
	}
	
	public Row(String teamleader,String journalname,List countList,List lateTag){
		parameter=new ArrayList();
		this.teamleader=teamleader;
		this.journalname=journalname;
		Object[] o=(Object[])countList.get(0);
		for(Object count:o){
			parameter.add(Integer.parseInt(((BigDecimal)count).toString()));
		}
	}

	public String getTeamleader() {
		return teamleader;
	}


	public void setTeamleader(String teamleader) {
		this.teamleader = teamleader;
	}


	public String getJournalname() {
		return journalname;
	}


	public void setJournalname(String journalname) {
		this.journalname = journalname;
	}

	public List getParameter() {
		return parameter;
	}

	public void setParameter(List parameter) {
		this.parameter = parameter;
	}
	
}
